package design_pattern.facade;

/**
 * Created by WeiDingKuo on 2017/10/27 17:22
 * <p>
 * 门面类
 */
public class FacadeImpl2 implements Facade {
    private FacadeImpl1 facadeImpl1 = new FacadeImpl1();
    private Method3 method3 = new Method3();

    @Override
    public void dosomething() {
        facadeImpl1.dosomething();
        method3.dosomething();
    }
}
